﻿using System.ComponentModel.DataAnnotations;

namespace MVC系统mvc.Dto.Warehouse
{
    public class FinishedProductDTO
    {/// <summary>
     /// 成品Id
     /// </summary>
        public int FinishedProductId { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? FinishedProductNo { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string? FinishedProductName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? FinishedProductSpecification { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? FinishedProductBatch { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? FinishedProductUnit { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? FinishedProductState { get; set; }
        /// <summary>
        /// 库存上限
        /// </summary>
        public int? InventoryLimit { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        public int? InventoryMinimum { get; set; }
        /// <summary>
        /// 报警天数
        /// </summary>
        public int? AlarmDays { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? FinishedProductImg { get; set; }
        /// <summary>
        /// 成品备注
        /// </summary>
        public string? FinishedProductRemark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
